	#ifndef __UI_PLAY_LAYOUT_H__
#define __UI_PLAY_LAYOUT_H__
#include "cocos2d.h"
#include "../include/SignalSlot.h"
USING_NS_CC;
namespace fishingjoy
{
	namespace ui
	{
		class UI_PlayLayout:public CCLayer
		{
		public:
			//base::Signal<void(void)> Event_BeginGame;
			//base::Signal<void(void)> Event_ExitGame;
		public:
			UI_PlayLayout()
			{
				CCSprite* bg = CCSprite::create("ui/play.png");
				bg->setAnchorPoint(CCPointZero);
				addChild(bg);

				//begin button.
				//CCMenuItemImage* pBeginGame = CCMenuItemImage::create("ui/game_start.png","ui/game_start2.png",this,menu_selector(UI_BeginLayout::onMenu_Begin));
			//	pBeginGame->setPositionY(-40);
				//exit button.
				//CCMenuItemImage* pExitGame = CCMenuItemImage::create("ui/game_exit.png","ui/game_exit2.png",this,menu_selector(UI_BeginLayout::onMenu_Exit));
				//pExitGame->setPositionY(-80);
				//add all of buttons into menu.
				//CCMenu* pMenu = CCMenu::create(pBeginGame,pExitGame,NULL);
				//attach to ui node.
				//addChild(pMenu);
			}
		};
	}
}
#endif